package com.tjetc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author gaoyongxiang
 * @version v1.0
 * @date 2025/9/8
 */

@Controller
public class UserController {

    @RequestMapping("/f")
    public String f(){
        return "ok";
    }

    @RequestMapping("/f1")
    public String f1(){
        return "ok";
    }


    @RequestMapping("/f2")
    @ResponseBody
    public String f2(){
        return "张三";
    }
}